﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 贪吃蛇
{
    internal class BeginScene:BeginorEndBaseScene   
    {
        public BeginScene()   //无参构造函数    继承了BeginorEndBaseScene 里面的成员  strTitle 和strOne
        {
            strTitle = "贪吃蛇";
            strOne = "开始游戏";
        }
        public override void EnterJDoSomething()
        {
           //按J键做什么逻辑
            if(nowSelIndex == 0)
            {
                Game.ChangeScene(E_SceneType.Game);
            }
            else
            {
                Environment.Exit(0);
            } 
        }

    }
}
